package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * PROJECT_NAME: sky-take-out
 * NAME: DishFlavorsMapper
 *
 * @AUTHOR: zhang
 * DATE: 2023/11/23
 * DESCRIPTION :
 */
@Mapper
public interface DishFlavorsMapper {

    void insertDishFlavors(@Param("dishId") Long dishId,@Param("name") String name,@Param("value") String value);

    List<DishFlavor> selectDishFlavorsByDishId(@Param("dishId") Long id);


    void deleteDishFlavorByDishId(@Param("dishId") Long id);
}
